package pos.data;

import java.util.List;

import pos.domain.SubType;

public interface ISubTypeDAO {
	
	public List<SubType> getAllSubTypes();
	public SubType getSubTypeById(String idSubType);
	public SubType getSubTypeByName(String name);
	List<SubType> getListSubTypesByEntityAndType(String idType, String idEntity);
	
	public SubType insertSubType(SubType subType, String idType, String idEntity);
	public void removeSubType(SubType subType);
	public boolean existSubType(String name, String idType, String idEntity);

}
